package petrochina.company.electric.model;

import petrochina.company.electric.http.api.LoginApi;
import petrochina.company.electric.http.api.TaskDetailStepApi;
import petrochina.company.electric.http.api.TaskListApi;

/**
 * 人工协助请求数据
 */
public class ArtificialRequestData {

    private TaskListApi.Bean task;
    private TaskDetailStepApi.Bean detail;
    private LoginApi.Bean login;
    private String dateStr;

    public ArtificialRequestData(TaskListApi.Bean task, TaskDetailStepApi.Bean detail, LoginApi.Bean login, String dateStr) {
        this.task = task;
        this.detail = detail;
        this.login = login;
        this.dateStr = dateStr;
    }

    public TaskListApi.Bean getTask() {
        return task;
    }

    public void setTask(TaskListApi.Bean task) {
        this.task = task;
    }

    public TaskDetailStepApi.Bean getDetail() {
        return detail;
    }

    public void setDetail(TaskDetailStepApi.Bean detail) {
        this.detail = detail;
    }

    public LoginApi.Bean getLogin() {
        return login;
    }

    public void setLogin(LoginApi.Bean login) {
        this.login = login;
    }

    public String getDateStr() {
        return dateStr;
    }

    public void setDateStr(String dateStr) {
        this.dateStr = dateStr;
    }

    @Override
    public String toString() {
        return "ArtificialRequestData{" +
                "task=" + task +
                ", detail=" + detail +
                ", login=" + login +
                ", dateStr='" + dateStr + '\'' +
                '}';
    }
}
